package com.example.mall.controller;

import cn.hutool.log.Log;
import com.alibaba.csp.sentinel.annotation.SentinelResource;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/index")
public class MallController {

    static Log log = Log.get();
    @RequestMapping("list")
    @SentinelResource()
    public Object index(){
        log.info("请求");
        return "你还";
    }
}
